home *** CD-ROM | disk | FTP | other *** search
-
- SEE LESSON 2 Screen 1
-
- This file is marked Read-only so that SEE cannot alter the contents of the disk
- file. Whatever changes you make will be thrown away when you exit SEE. You can
- always start over and the file will be just like it is now.
-
- People editing files often wish to get copies of groups of lines and place them
- somewhere. SEE has a very advanced facility for accomplishing this. Move the
- cursor to the line that says "This is the second line.", and hit the function
- Get (F3). This tells SEE to make an internal copy of the current line. Now hit
- Close (CTRL-F1) to remove this line. Finally, hit the down arrow key so that
- the cursor is one line below the "first line", and hit Put (F4). This is how
- you move lines.
-
- This is the second line.
- This is the first line.
-
- SEE still has the "second line" in it's internal buffer; it you were to hit Put
- again, SEE would place another identical copy into the file. Let's put the
- lines back the way they were before. Move the cursor up one line to the "first
- line", and hit Get (F3) followed by Close (CTRL-F1). Move the cursor down one
- line, and hit Put (F4). The lines should be upside-down again.
-
- SEE LESSON 2 Screen 2
-
- Now, we'll do exactly the same thing as before, but using different SEE
- commands. Move the cursor to the "second line", and hit Cut (CTRL-F3). Cut is
- exactly the same as Get followed immediately by Close. Move the cursor down one
- line and hit Put (F4).
-
- This is the second line.
- This is the first line.
- This is the third line.
-
- Cut, Get, Put, and Paste (which we haven't tried yet) all share the same buffer.
- If you hit Cut or Get and there is already something in the buffer, the stuff in
- the buffer is discarded.
-
- Hit Put again. As was mentioned earlier, SEE still has the same line in it's
- buffer. Hit Cut to get rid of this line.
-
-
-
-
-
-
- SEE LESSON 2 Screen 3
-
- SEE has a few simple commands for moving around the screen quickly. These are:
-
- Tab - the tab key moves you forward to the next tab stop, just
- like a typewriter. Tab stops are every four columns.
-
- Ctrl-U - moves you backwards to the previous tab stop.
-
- Ctrl-arrow - holding the control key down while pressing the left or
- right arrow key moves eight spaces instead of one.
-
- Home - moves the cursor to the beginning of the line. If you
- are already at the beginning of the line, Home moves
- you to the beginning of the first line on the screen.
-
- End - moves you to the end of the line. If you are already at
- the end of the line, End moves you to the end of the
- last line on the screen.
-
- Try each of these commands a few times.
-
-
- SEE LESSON 2 Screen 4
-
- Similarly, SEE has a few commands to move you quickly through a file.
-
- Ctrl-Page - holding the control key down while hitting Pg Up or
- Pg Dn moves you four pages instead of one.
-
- Ctrl-Home - holding the control key down while hitting Home moves
- you to the beginning of the file.
-
- Ctrl-End - holding the control key down while hitting End moves
- you to the last line of the file.
-
- Generally speaking, if a key near the arrow keys does something, using Ctrl with
- that key does more of the same.
-
- Try each of these commands now. Remember to get yourself back to page 5 when
- you're done trying them out...
-
-
-
-
-
- SEE LESSON 2 Screen 5
-
- The next command we'll cover is Search. Hit Home twice so that the cursor is at
- the upper left corner of the screen. At the bottom of the screen is the word
- "apropos"; we will search for this word. Hit the key labeled ESC. The cursor
- will jump down to the status line, and the word "Enter: " will appear. Now,
- type the word "apropos" (without the quotes). Hit Search (F10). When you hit
- Search, the word "Enter: " and your input will disappear, and the cursor will
- jump to the first occurance the word, which is on line 3 of this paragraph. Hit
- Search (F10) again immediately; the cursor will jump to the second occurance,
- which is on line 5 of this paragraph. Search remembers what it was searching
- for, and does it again. Now hit Search again. The cursor will jump to the last
- occurance (below). If you hit Search again, nothing happens. SEE looks for the
- word again, but it's not to be found, so SEE does nothing.
-
- Apropos
-
- Finally, the insert key. Move the cursor right one space, and insert a second
- "p". Now hit the insert key, move the cursor right so that it's underlining the
- second "o", and type "riate". Notice that the cursor turned into an underscore
- to flag this change in behavior. Hit the insert key again; now things are back
- to normal.
-
- SEE LESSON 2 Screen 6
-
- Summary of the commands covered in this lesson:
-
- Get (F3) - Get a copy of the current line
- Cut (Ctrl-F3) - Cut the current line out of the file
- Put (F4) - Put something previously Get or Cut into the file
- Tab - move to the next tab stop
- Ctrl-U - move to the previous tab stop
- Home - move to the beginning of the line
- End - move to the end of the line
- Ctrl-arrow - move left or right 8 spaces
- Ctrl-Pg - move up or down 4 pages
- Ctrl-Home - move to the beginning of the file
- Ctrl-End - move to the end of the file
- ESC "text" Search (F10) - Search for "text"
- Insert - change inserting characters to/from overwriting characters
-
- You have now learned about half the commands in SEE.
-
- End of Lesson 2
-